<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<base href="__ROOT__/">
<title>{$projectname}</title>
<link href="./Public/Css/app.css" rel="stylesheet">
</head>

<body>
	<div id="app">
		<nav>{$topbar}</nav>
		<hr style="margin: 3px 0px 0px;">
		<div style="margin: 20px 150px 0px;">
			<div>
				<div>
					<a href="{$url}mb_AccountsManager" class="router-link-exact-active router-link-active">
						<button class="func">总计账目</button>
					</a> <a href="{$url}mb_AgentAccount" class="">
						<button class="func">代理商账目</button>
					</a> <a href="{$url}mb_UserAccount" class="">
						<button class="func">玩家账目</button>
					</a> <a href="{$url}mb_RechargeDetail" class="">
						<button class="func func-activate">充值明细</button>
					</a>
				</div>
				<div style="margin-bottom: 5px;"></div>
			</div>
			<div style="margin-bottom: 5px;"></div>

			<div>
				<form action="{$url}mb_RechargeDetail" method="post">
					<table border="0" style="font-size: 12px;">
						<tr>
							<!-- 
							<form action="{$url}mb_RechargeDetail" method="get">
								<td align="right">UID：</td>
								<td><input name="id" type="text" placeholder="UID" size="10"></td>
							</form>
							
							<form action="{$url}mb_RechargeDetail" method="get">
								<td align="right">玩家：</td>
								<td><input name="name" type="text" placeholder="账号" size="10"></td>
							</form>
							
							<form action="{$url}mb_RechargeDetail" method="get">
								<td align="right">代理商：</td>
								<td><input name="code" type="text" placeholder="邀请码" size="10"></td>
							</form>
							
							<form action="{$url}mb_RechargeDetail" method="get">
								<td align="right">日期范围：</td>
								<td>
									<input type="text" size="12" readonly="readonly" value="{$date1}">-<input type="text" size="12" readonly="readonly" value="{$date2}">
								</td>
							</form>
							 -->
							<td align="right">UID：</td>
							<td><input name="id" type="text" placeholder="UID" size="10"></td>
							<td align="right">玩家：</td>
							<td><input name="name" type="text" placeholder="账号" size="10"></td>
							<td align="right">代理商：</td>
							<td><input name="code" type="text" placeholder="邀请码" size="10"></td>
							<td align="right">日期范围：</td>
							<td><input type="text" size="12" readonly="readonly" value="{$date1}">-<input type="text" size="12" readonly="readonly" value="{$date2}"></td>
							<td>
								<button name="scope" value="0">今天</button>
								<button name="scope" value="1">本周</button>
								<button name="scope" value="2">本月</button>
								<!-- 
								<a href="{$url}mb_RechargeDetail?scope=0">
									<button>今天</button>
								</a> 
								<a href="{$url}mb_RechargeDetail?scope=1">
									<button>本周</button>
								</a> 
								<a href="{$url}mb_RechargeDetail?scope=2">
									<button>本月</button>
								</a>
								 -->
							</td>
						</tr>
					</table>
				</form>
				<table border="1" width="100%" class="grid">
					<tr class="tbh">
						<th width="60" style="text-align: center;">NO.</th>
						<th width="50">类型</th>
						<th width="70">简述</th>
						<th width="80">邀请码</th>
						<th width="80">UID</th>
						<th width="80">账号</th>
						<th width="80">冲前积分</th>
						<th width="50">积分</th>
						<th width="80">冲后积分</th>
						<th width="140">充值时间</th>
						<th width="40">渠道</th>
						<th width="80">服务员</th>
					</tr>
					<!-- 
					<tr>
						<td align="center">234</td>
						<td style="font-weight: bold;"><span style="color: green;">上分</span></td>
						<td>会员充值</td>
						<td>17001888</td>
						<td>100004</td>
						<td>zz1</td>
						<td>5101000</td>
						<td>10000000</td>
						<td>15101000</td>
						<td>2019-01-16 13:44:05</td>
						<td>官方</td>
						<td>fdfd</td>
					</tr>
					<tr>
						<td align="center">233</td>
						<td style="font-weight: bold;">
							<span style="color: blue;">送分</span>
						</td>
						<td>会员充值</td>
						<td>17001888</td>
						<td>100004</td>
						<td>zz1</td>
						<td>5001000</td>
						<td>100000</td>
						<td>5101000</td>
						<td>2019-01-16 13:33:21</td>
						<td>官方</td>
						<td>TWXH</td>
					</tr>
					 -->
					<!-- 
					<tr align="center">
						<td></td>
						<th colspan="2" style="text-align: right; color: green;">单页总上分：</th>
						<th style="color: green;">38000000</th>
						<th colspan="2" style="text-align: right; color: blue;">单页总送分：</th>
						<th style="color: blue;">100000</th>
						<th colspan="2" style="text-align: right; color: red;">单页总下分：</th>
						<th style="color: red;">0</th>
						<td></td>
						<td></td>
					</tr>
					 -->
					 {$logdata}
					<tr align="center">
						<td></td>
						<th colspan="2" style="text-align: right; color: green;">总上分：</th>
						<th style="color: green;">{$totalup}</th>
						<th colspan="2" style="text-align: right; color: blue;">总送分：</th>
						<th style="color: blue;">{$totalsend}</th>
						<th colspan="2" style="text-align: right; color: red;">总下分：</th>
						<th style="color: red;">{$totaldown}</th>
						<td></td>
						<td></td>
					</tr>
					<tr align="center">
						<td></td>
						<th colspan="2" style="text-align: right;">总汇总：</th>
						<th>{$total}</th>
					</tr>
				</table>
				<button>刷新</button>
				<!-- 
				<button disabled="disabled">上一页</button>
				<button>下一页</button>
				<span>第1页</span> <span>总8页</span> <span>共234条</span>
				 -->
			</div>
		</div>
	</div>
</body>
</html>

